#include "ManualHash.h"
#include "lookup3.c"

#include <cstring>
#include <string>
#include <iostream>

#define KEY 0

using namespace std ;

ManualHash::ManualHash()
{
}

ManualHash::~ManualHash()
{
}

uint ManualHash::ToInteger(const char * word)
{
	return hashlittle(word,strlen(word),KEY);
}

uint ManualHash::ToInteger(const string word)
{
	return hashlittle(word.c_str(),word.size(),KEY);
}